<?php if(isset($_thread['PostFlagClass']) && !empty($_thread['PostFlagClass'])) {
$GLOBALS['load_postflag_style'] = true;
foreach($_thread['PostFlagClass'] as $pflag => &$pfdata){ ?>
<i class="icon small <?php echo $pfdata['class']; ?> other" title="<?php echo $pfdata['title']; ?>"></i>
<?php }} ?>